<?php
/**
 * View Elenco Eventi FULL LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    17-mag-2011
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>
<?php
if(  count( $this->events ) ):
    foreach( $this->events AS $event ) : ?>
	<tr class="result <?php echo ( in_array( $event['event_id'], (array)$this->selected ) ? 'selected' : '' ) ?>" id="event_<?php echo $event['event_id'] ?>">
	    <th class="title">
                <span><?php echo $event['event_title'] ?></span>
	    </th>
	    <td>
                <span><?php echo $event['event_type_name'] ?></span>
	    </td>
            <td class="actions" title="Operazioni">
                <span class="actions">
                    <a class="view" href="/admin/eventi/vedi/id/<?php echo $event['event_id'] ?>">Dettagli</a>
                </span>
            </td>            
            <td class="actions" title="Operazioni">
                <span class="actions">
                    <a class="edit" href="/admin/eventi/info/id/<?php echo $event['event_id'] ?>">Edit</a>
                    <a class="del" href="">Canc</a>
                </span>
            </td>	    
	</tr>
<?php endforeach;
else:
    ?><tr class="result"><td colspan="5">Nessun elemento presente...</td></tr> <?php	
endif;?>

